Understanding class inheritance tkinter video two question
At at the 12min mark of video 2 in the tkinter series, the 'container' variable is created using:
container = tk.Frame(self)
It is said that this is an inheritance because the class seaofBTCapp( ) inherits from 'tk.TK.
It is not clear to me how this is an inheritance. Doesn't the tk in tk.Frame come from the import at the top of the file? I don't understand where the inheritance fits in.
Any clarification on this issue would be appreciated.
You must be logged in to post. Please login or register an account.
At least in that line, we're just simply passing our object into the tk.Frame class, maybe I misspoke.
-Harrison 7 years ago
You must be logged in to post. Please login or register an account.